//
//  NSString+Regexp.h
//  YunGou
//
//  Created by macbook on 16/5/16.
//  Copyright (c) 2016年 macbook. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Regexp)
+(NSString *) addSuffix:(NSString *) suffix withString:(NSString *)str;
//邮箱验证
+ (BOOL) isEmailNumber:(NSString*)emailnumber;
+ (BOOL) validateEmail:(NSString*)email;
+ (BOOL) NSStringIsValidEmail:(NSString*)checkString;

//验证手机号
+ (BOOL) isMobileNumber:(NSString *)mobileNum;

//密码是否大于6位
+ (BOOL) isPasswordVerify:(NSString *)password;
@end
